<template>
<div>
  <router-view/>

</div>
</template>

<script>
// import request from '@/utils/request'
// import { setToken } from '@/utils/storage'
export default ({
  // async created () {
  //   const res = await request.post('/auth/login', {
  //     username: 'admin', // 测试正常错误（写错账户名）
  //     password: 'admin'
  //   })
  //   // const res = await request.get('/auth/currentUser')  //为了测试401错误
  //   console.log(res)
  //   setToken(res.data.token)
  // }
})
</script>

<style lang="scss" scoped>

</style>
